require("ProbabilitiesManager")
require("IntentionsManager")

DramaManager = class("DramaManager")

---

function DramaManager:initialize()

	gDramaManager = self

	self.intentionsManager = IntentionsManager:new()
	self.probabilitiesManager = ProbabilitiesManager:new()
end

---

function DramaManager:onBeatBeforeField()

	self.probabilitiesManager:onBeatBeforeField()
end

---

function DramaManager:onBeatAfterField()

	self.probabilitiesManager:onBeatAfterField()
end

---

function DramaManager:onPropertyCollapsed(entity, propertyName)

	self.probabilitiesManager:onPropertyCollapsed(entity, propertyName)
end

---

function DramaManager:onContainerSoonToBeObserved(container)

	self.intentionsManager:onContainerSoonToBeObserved(container)
end
